package com.atguigu.cloud;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 *  主启动类
 **/
@SpringBootApplication
@MapperScan("com.atguigu.cloud.mapper")  //不用写@mapper了
@EnableDiscoveryClient  //是 Spring Cloud 中用于服务发现的注解，
public class Main8001 {
    public static void main(String[] args) {
        SpringApplication.run(Main8001.class,args);
    }
}
